#ifndef SOCKET_IO_H
#define SOCKET_IO_H

#include "Socket.h"
#include <string>

using std::string;

class SocketIO
{
private:
    Socket _clt;

public:
    SocketIO(int fd);

    int writen(const char *, size_t len);
    int readLine(char *, size_t len);
    int readn(char *, size_t len);
};

#endif